package com.xiao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiao.domain.ResponseResult;
import com.xiao.domain.pojo.BlogComment;

public interface BlogCommentService extends IService<BlogComment> {

    // 根据评论类型,文章ID 返回评论列表;限制页面大小
    ResponseResult commentList(Integer commentType, Long  articleId, Integer pageNum, Integer pageSize);

    //发表评论
    ResponseResult addComment(BlogComment comment);
}
